/*
Copyright (C) 2008 raohmaru <http://www.raohmaru.com>

This file is part of Raohmaru AS3 Framework.

Raohmaru AS3 Framework is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Raohmaru AS3 Framework is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Raohmaru AS3 Framework.  If not, see <http://www.gnu.org/licenses/>.
*/

package jp.raohmaru.events 
{

/**
 * La clase EventType es una enumeración de valores constantes para la clase EventRegister, que corresponden a los eventos más comunes de Flash.
 * Contienen un valor numérico uint que permite que sea combinado con otros valores de EventType en operaciones binarias, para luego extraer su valor
 * por separado.
 * @example
<listing version="3.0">var flags : uint = EventType.MOUSE_OVER | EventType.CLICK;<br>
if((flags & EventType.MOUSE_OVER) > 0) trace("flags contains a MOUSE_OVER");
if((flags & EventType.CLICK) > 0) trace("flags contains a CLICK");</listing>
 * @see EventRegister
 * @author raohmaru
 * @version 1.1
 */
public class EventType 
{
	/**
	 * Corresponde al evento flash.events.MouseEvent.MOUSE_OVER.
	 */
	public static const	MOUSE_OVER		: uint = 1;
	/**
	 * Corresponde al evento flash.events.MouseEvent.MOUSE_OUT.
	 */
	public static const	MOUSE_OUT 		: uint = 2;
	/**
	 * Corresponde al evento flash.events.MouseEvent.MOUSE_DOWN.
	 */
	public static const	MOUSE_DOWN		: uint = 4;
	/**
	 * Corresponde al evento flash.events.MouseEvent.MOUSE_UP.
	 */
	public static const	MOUSE_UP		: uint = 8;
	/**
	 * Corresponde al evento flash.events.MouseEvent.CLICK.
	 */
	public static const	CLICK			: uint = 16;
	/**
	 * Corresponde al evento flash.events.MouseEvent.DOUBLE_CLICK.
	 */
	public static const	DOUBLE_CLICK	: uint = 32;
	/**
	 * Corresponde al evento flash.events.MouseEvent.ROLL_OVER.
	 */
	public static const	ROLL_OVER		: uint = 64;
	/**
	 * Corresponde al evento flash.events.MouseEvent.ROLL_OUT.
	 */
	public static const	ROLL_OUT		: uint = 128;
	/**
	 * Corresponde al evento flash.events.MouseEvent.MOUSE_MOVE.
	 */
	public static const	MOUSE_MOVE		: uint = 256;
	/**
	 * Corresponde al evento flash.events.MouseEvent.MOUSE_WHEEL.
	 */
	public static const	MOUSE_WHEEL		: uint = 512;
	/**
	 * Corresponde al evento flash.events.FocusEvent.FOCUS_IN.
	 */
	public static const	FOCUS_IN		: uint = 1024;
	/**
	 * Corresponde al evento flash.events.FocusEvent.FOCUS_OUT.
	 */
	public static const	FOCUS_OUT		: uint = 2048;
	/**
	 * Corresponde al evento flash.events.KeyboardEvent.KEY_DOWN.
	 */
	public static const	KEY_DOWN		: uint = 4096;
	/**
	 * Corresponde al evento flash.events.KeyboardEvent.KEY_UP.
	 */
	public static const	KEY_UP			: uint = 8192;
}
}